package com.unipay.hosp.service;

import com.unipay.model.hosp.Department;
import com.unipay.vo.hosp.DepartmentQueryVo;
import com.unipay.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @Project: yitong_parent
 * @Author: C.yu
 * @Time: 2023-04-06 10:27:38
 * @Desc: TODO
 */
public interface DepartmentService {
    void save(Map<String, Object> objectMap);

    Page<Department> findPageDepartment(int page, int limit, DepartmentQueryVo departmentQueryVo);

    void remove(String hoscode, String depcode);

    List<DepartmentVo> findDeptTree(String hoscode);

    String getDepname(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);
}
